﻿// EXP0505.cpp : 写一段自己的程序，使用if else 语句实现把数字转换为字母成绩的要求。
//

#include <iostream>
#include <string>
#include <vector>
using namespace std;


int main()
{
    vector<string> scores = { "F","D","C","B","A","A+" };
    cout << "输入分数："<<endl;
    int grade;
    while (cin>>grade&&grade<=100)
    {
	    if (grade>=60)
	    {
            cout << scores[(grade - 50) / 10] << endl;
	    }
        else
        {
            cout << scores[0] << endl;
        }
    }
    return 0;
}

